package org.alanlau.alibaba.context;

/**
 * @author liukun
 * @version 1.0
 * @date 2020/11/27 17:05
 */
public class InfoContextHolder {
    private static final ThreadLocal<String> msg = new ThreadLocal<>();

    public static void setMsg(String msg) {
        InfoContextHolder.msg.set(msg);
    }

    public static String getMsg() {
        return InfoContextHolder.msg.get();
    }
}
